<nav class="navbar-default navbar-static-side" role="navigation">
    <div class="sidebar-collapse">
        <ul class="nav metismenu" id="side-menu">
            <li class="nav-header">
                <div class="dropdown profile-element"> 
                    <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                    <span class="clear"> <span class="block m-t-xs"> <strong class="font-bold">{$_SESSION['admin_username']}</strong>
                     </span></span> </a>
                </div>
            </li>
            <li <if condition="CONTROLLER_NAME eq Index "> class="active" </if> >
                <a href="{:U('admin/Index/index')}"><i class="fa fa-home"></i> <span class="nav-label">主页</span></a>
            </li>
            <li <if condition="CONTROLLER_NAME eq Order "> class="active" </if> >
                <a href="{:U('admin/Order/index')}"><i class="fa fa-shopping-cart"></i> <span class="nav-label">订单管理</span></a>
            </li>
            <li <if condition="CONTROLLER_NAME eq Catalog "> class="active" </if> >
                <a href="{:U('admin/Catalog/index')}"><i class="fa fa-th-list"></i> <span class="nav-label">分类管理</span></a>
            </li>
            <li <if condition="CONTROLLER_NAME eq Product "> class="active" </if> >
                <a href="{:U('admin/Product/index')}"><i class="fa fa-gift"></i> <span class="nav-label">商品管理</span></a>
            </li>
            <li <if condition="CONTROLLER_NAME eq User "> class="active" </if> >
                <a href="{:U('admin/User/index')}"><i class="fa fa-users"></i> <span class="nav-label">会员管理</span></a>
            </li>
            <li <if condition="CONTROLLER_NAME eq Website "> class="active" </if> >
                <a href="{:U('admin/Website/index')}"><i class="fa fa-gears"></i> <span class="nav-label">网站设置</span></a>
            </li>
        </ul>
    </div>
</nav>